import request from '@/utils/request';
import { convertBannerList } from '@/api/formatter';

export function getBannerList() {
    return request({ url: '/banner/all', method: 'GET' }).then((data: any) => {
        return convertBannerList(data);
    });
}
